package com.ivi.car.module.reservation.model;

import com.ivi.car.base.IBaseView;

import java.util.Observable;

/**
 * Created by Administrator on 2018/3/8.
 */

public interface ReservationContract {
    /**
     *
     */
    interface  View extends IBaseView {
        /**
         *
         * @param msg 测试用msg
         */
        void onReservationSuccessDataSuccess(String msg);

        /**
         *
         * @param stbID 测试用stbID
         */
        void onReservationDataSuccess(String stbID);
    }

    /**
     *
     */
    interface Prensenter {
        /**
         *
         * @param msg 测试用msg
         */
        void loadReservationSuccessData(String msg);

        /**
         *
         * @param stbID 测试用stbID
         */
        void loadReservationData(String stbID);
    }

    /**
     *
     */
    interface Model {
        /**
         *
         * @param msg 测试用msg
         * @return
         */
        Observable loadReservationSuccessData(String msg);

        /**
         *
         * @param stbID 测试用stbID
         * @return
         */
        Observable loadReservationData(String stbID);
    }
}
